package de.preissler.insertjoin;

import java.util.Map;

import me.prettyprint.cassandra.serializers.DoubleSerializer;
import me.prettyprint.cassandra.serializers.StringSerializer;
import me.prettyprint.hector.api.Keyspace;
import me.prettyprint.hector.api.mutation.Mutator;

public interface InsertData
{
	public static final StringSerializer SS = StringSerializer.get();
	public static final DoubleSerializer DS = DoubleSerializer.get();
	public static final String OPEN = "open";
	public static final String HIGH = "high";
	public static final String LOW = "low";
	public static final String CLOSE = "close";
	public static final String VOLUME = "volume";
	public static final String CHANGE = "change";
	public static final String QUOTES = "Quotes";
	public static final String KT = "Kt";
	public static final String BASE = "base";
	public static final String PI0 = "price at zero";
	public static final String QI0 = "#shares at zero";
	public static final String QIT = "#shares at t";
	public static final String FFI = "free float";
	public static final String CI = "correction";
	public static final String DAX = "DAX";
	public static final String DAX_ISIN = "DE0008469008";
	
	public void insert(Map<String, Map<String, Quote>> quotes, Map<String, Map<String, DAXParam>> params,
			Keyspace keyspace, Mutator<String> mutator);
	
	public void delete(Map<String, Map<String, Quote>> quotes, Map<String, Map<String, DAXParam>> params,
			Keyspace keyspace, Mutator<String> mutator);
}
